<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>jquery使用</title>
		 <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
	<script>
		function showImg(){
			document.getElementById("myimage").show();
			
		}
		function hideImg(){
			document.getElementById("myimage").hide();
			
		}
	</script>
	</head>
	<body>
		<img id="myimage" src="img/QQ图片20190327231814.jpg" />
		<br>
		<button onclick="showImg()">显示图片</button>
		<button onclick="hideImg()">隐藏图片</button>
	</body>
</html>
